<template>
    <!-- 没有邮箱及登录密码 -->

    <div>
        <div class="text">
            帐号设置
        </div> 
        <div class="row">
            <van-cell title="手机号" is-link to='/bindphone' :value="phoneNum" />
            <van-cell title="邮箱" is-link to="/bindmailbox" value="未绑定"/>
        </div>
        <div class="text">
            安全设置
        </div> 
        <div class="row">
            <van-cell title="设置登录密码" is-link to='/setloginpassword'/>
            <van-cell title="设置交易密码" is-link  to='/settransactionpassword' />
        </div>
    </div>
</template>

<script>
    export default {
    data(){
        return{
            phoneNum:'', //从后端获取号码
          
        }
    },
    methods:{
          
    },
    created() {
       this.phoneNum=this.$store.state.userNumber
       console.log(this.$store.state.userNumber);
    },
}

</script>

<style scoped>
        .text{
        width: 92%;
        margin: auto;
        font-size: 14px;
        color:#999999;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .row{
        margin-top: 10px;
        margin-bottom: 10px;
    }

</style>